//
//  UIBarButtonItem+LYAdd.h
//  LYDevelopKit
//
//  Created by 李阳 on 2018/5/28.
//

#import <UIKit/UIKit.h>

@interface UIBarButtonItem (LYAdd)

+ (UIBarButtonItem *)itemWithImage:(UIImage *)image
                  highlightedImage:(UIImage *)highImage
                           handler:(void (^)(UIBarButtonItem *item))handler;

+ (UIBarButtonItem *)itemWithImage:(UIImage *)image
                     selectedImage:(UIImage *)highImage
                           handler:(void (^)(UIBarButtonItem *item))handler;


+ (UIBarButtonItem *)itemWithBgImage:(UIImage *)image
                  highlightedBgImage:(UIImage *)highImage
                           handler:(void (^)(UIBarButtonItem *item))handler;
@end
